import * as ApiUtil from '@/api/index';

const api = {
  progressBar: ApiUtil.getI5xforyouUrl('/i5xforyou/backend/wxMemberToMongo/progressBar'),
  createIndex: ApiUtil.getI5xforyouUrl('/i5xforyou/backend/wxMemberToMongo/createIndex'),
  check: ApiUtil.getI5xforyouUrl('/i5xforyou/backend/wxMemberToMongo/check'),
  checkResult: ApiUtil.getI5xforyouUrl('/i5xforyou/backend/wxMemberToMongo/checkResult'),
  createTestData: ApiUtil.getI5xforyouUrl('/i5xforyou/backend/wxMemberToMongo/createTestData'),
};

//进度条
export function progressBar(data?: object) {
  return ApiUtil.getI5xforyou(api.progressBar, data);
}

export function createIndex() {
  return ApiUtil.getI5xforyou(api.createIndex);
}

export function check(data?: object) {
  return ApiUtil.getI5xforyou(api.check, data);
}

export function checkResult(data?: object) {
  return ApiUtil.getI5xforyou(api.checkResult, data);
}

export function createTestData() {
  return ApiUtil.getI5xforyou(api.createTestData);
}
